﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;

namespace Core.Rules
{
    public class NReplies_Rule : IRule
    {
        //Determine the number of replies to the solution        
        public double apply(SiteEnum site, QuestionInformation info)
        {
            return info.Replies.Count; 
	    }

        public string RuleName
        {
            get { return "NReplies_Rule"; }
        }
    }
}
